/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package admin.controller;


import admin.provider.EventProvider;
import admin.provider.WrapperProvider;
import ejb.entity.Event;
import java.io.Serializable;
import javax.faces.view.ViewScoped;
import javax.inject.Named;

/**
 *
 * @author Nothing4ever
 */
@Named(value = "eventListController")
@ViewScoped
public class EventListController extends WrapperListController<Event> implements Serializable {

    private static final long serialVersionUID = 1L;
    private Event removeObject;
    
            
    public EventListController() {
//        filterList = new ArrayList<City>();
    }

    @Override
    public WrapperProvider<Event> getProvider() {
        return EventProvider.getInstance();
    }

    public void setRemoveObject(Event removeObject) {
        this.removeObject = removeObject;
    }

    @Override
    public Event getRemoveObject() {
        return removeObject;
    }
    
}
